<?php
/**
 * Created by DRCOM.
 * User: GZX
 * Datetime: 2022-01-19 16:00
 */

namespace app\api\controller;





class Resume
{
    public function index(){
//        halt(123);
        header("Access-Control-Allow-Origin: *");
        header('Content-Type: text/html;charset=utf-8');
        header('Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT');
        header("Access-Control-Allow-Headers: *");
        $input = input();
        db('resume')->strict(false)->insert($input);
        echo '{"result":"ok","account":"","msg":"1234"}';


    }

}